home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': '',
- 'Copyright': '',
- 'Description': ''
- }
-
- def Swatch_SetMaterial():
- return {
- 'IsPrimary': App.Constants.Boolean.true,
- 'NewMaterial': {
- 'Color': None,
- 'Pattern': {
- 'Name': 'Geometric 01',
- 'Image': None,
- 'Angle': 0.000000,
- 'Scale': 100.000000
- },
- 'Gradient': None,
- 'Texture': None
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'SetMaterial', Swatch_SetMaterial())
-
-